package com.example.serveB;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@EnableDiscoveryClient
@SpringBootApplication
@EnableConfigurationProperties
@RestController
public class ServeBApplication {

	public static void main(String[] args) {
		SpringApplication.run(ServeBApplication.class, args);
	}
	@RequestMapping("/serveB-test")
	public String test() {
		return "serveB";
	}
}
